package zisu.algorithm.algorithm.Stack;

/**
 * @Author: 蔡翔
 * @Date: 2019/12/2 15:58
 * @Version 1.0
 */
public interface Stack<E> {
    int getSize();
    int getCapacity();
    boolean isEmpty();
    void push(E e);
    E pop();
    E peek();
}
